
#ifndef _PointAttractorModifier_H_
#define _PointAttractorModifier_H_

#include "ParticleModifier.h"
#include "Particle.h"
#include "../../Utils/Vector2D.h"


class PointAttractorModifier : public ParticleModifier {
  public:
    PointAttractorModifier(Vector2D position, float strength);
    ~PointAttractorModifier();

    void modifyParticle(Particle &particle);
    
    void setPosition(Vector2D new_position);
    void setStrength(float new_strength);

  private:
    Vector2D position;
    float strength;
};

#endif

